package com.trade.wzj.model.xiang;

import java.io.Serializable;
import java.sql.Date;

import org.springframework.format.annotation.DateTimeFormat;

import org.springframework.format.annotation.DateTimeFormat;

public class ProductInfoQuota implements Serializable {
	@Override
	public String toString() {
		return "ProductInfoQuota [productInfoQuotaID=" + productInfoQuotaID + ", supplierQuota=" + supplierQuota
				+ ", productName=" + productName + ", Unit=" + Unit + ", productDelivery=" + productDelivery
				+ ", productNum=" + productNum + ", supplierquotaID=" + supplierquotaID + ", productPrice="
				+ productPrice + ", expirationDate=" + expirationDate + ", expirationDates=" + expirationDates
				+ ", rental=" + rental + ", delState=" + delState + ", supplierName=" + supplierName + ", payState="
				+ payState + "]";
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = -4854317551657296690L;
	/**
	 * 产品信息报价表
	 */
	private Integer productInfoQuotaID;// 产品编号
	private SupplierQuota supplierQuota;
	/**
	 * 供应商报价表对象
	 * @return
	 */
	public SupplierQuota getSupplierQuota() {
		return supplierQuota;
	}

	public void setSupplierQuota(SupplierQuota supplierQuota) {
		this.supplierQuota = supplierQuota;
	}

	private String productName;// 产品名称
	private String Unit;// 单位
	private Integer productDelivery;// 货期
	private Integer productNum;// 数量
	private Integer supplierquotaID;// 供应商报价id
	private double productPrice;// 价格
	@DateTimeFormat(pattern = "yyyy-MM-dd") 
	private Date expirationDate;// 报价截止日期
	private String expirationDates;
	private double rental;// 总额
	private Integer delState;// 状态
	// YU
	private String supplierName; //供应商名

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public Integer getProductInfoQuotaID() {
		return productInfoQuotaID;
	}

	public void setProductInfoQuotaID(Integer productInfoQuotaID) {
		this.productInfoQuotaID = productInfoQuotaID;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getUnit() {
		return Unit;
	}

	public void setUnit(String unit) {
		Unit = unit;
	}

	public Integer getProductDelivery() {
		return productDelivery;
	}

	public void setProductDelivery(Integer productDelivery) {
		this.productDelivery = productDelivery;
	}

	public Integer getProductNum() {
		return productNum;
	}

	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}

	public Integer getSupplierquotaID() {
		return supplierquotaID;
	}

	public void setSupplierquotaID(Integer supplierquotaID) {
		this.supplierquotaID = supplierquotaID;
	}

	public double getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(double productPrice) {
		this.productPrice = productPrice;
	}

	public Date getExpirationDate() {
		return expirationDate;
	}

	public void setExpirationDate(Date expirationDate) {
		this.expirationDate = expirationDate;
	}

	public String getExpirationDates() {
		return expirationDates;
	}

	public void setExpirationDates(String expirationDates) {
		this.expirationDates = expirationDates;
	}

	public double getRental() {
		return rental;
	}

	public void setRental(double rental) {
		this.rental = rental;
	}

	public Integer getDelState() {
		return delState;
	}

	public void setDelState(Integer delState) {
		this.delState = delState;
	}
	private Paystate payState;
	/**
	 * 支付状态表
	 * @return
	 */
	public Paystate getPayState() {
		return payState;
	}

	public void setPayState(Paystate payState) {
		this.payState = payState;
	}

}
